package pers.rain.WebMagicDemo.Bean;

import java.util.Date;

public class Books {
	private int id;
	private String title;
	private String author;
	private Date year;
	private String publisher;
	private String desc1;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getYear() {
		return year;
	}
	public void setYear(Date year) {
		this.year = year;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public String getDesc() {
		return desc1;
	}
	public void setDesc(String desc) {
		this.desc1 = desc;
	}

	@Override
	public String toString(){
		return "Book [title="+title+",author="+author+",year="+year+",publisher="+publisher+",desc1="+desc1+"]";
	}
}
